<?php

class Bill extends AppModel {
    
    // define model name
    var $name = 'Bill';
    
    // define model schema
    var $schema = array(
        'id'                        => array('type' => 'int'),
        'user_id'                   => array('type' => 'string'),
        'reservation_id'            => array('type' => 'string'),
        'service_id'                => array('type' => 'string'),
        'base_price'                => array('type' => 'string'),
        'quantity'                  => array('type' => 'string'),
        'paid'                      => array('type' => 'blob'),
        'details'                   => array('type' => 'string'),
        'created'                   => array('type' => 'datetime'),
        'deletedOn'                 => array('type' => 'datetime')
    );
    
    // define validation rules
    var $validate = array(
    );
      
}


?>